Cis Tagging Tag CreateSpec

Cis Tagging Tag CreateSpec
Cis Tagging Tag CreateSpec

The Cis Tagging Tag CreateSpec schema describes a tag.

Use the POST /cis/tagging/tag operation to create a tag defined by the create specification.

JSON Example
{
    "name": "string",
    "description": "string",
    "category_id": "string",
    "tag_id": "string"
}
string
name
Required

The display name of the tag. The name must be unique within its category.

string
description
Required

The description of the tag.

string
category_id
Required

The unique identifier of the parent category in which this tag will be created.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Category. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Category.

string
tag_id
Optional

This property was added in vSphere API 6.7.

If missing or null an identifier will be generated by the server

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag.